ga.view.streaming
Class StreamingEvaluationState.DragListener
java.lang.Object
ga.view.interfaces.MouseListener
ga.view.streaming.StreamingEvaluationState.DragListener
- All Implemented Interfaces:
- com.jme3.input.controls.ActionListener, com.jme3.input.controls.InputListener
- Enclosing class:
- StreamingEvaluationState<T extends IIndividual<T>>
private class StreamingEvaluationState.DragListener
- extends MouseListener
This is a mouse listener that detects drag-and-drop.
- Since:
- 12.08.2012
- Author:
- Stephan Dreyer
Method Summary |
void |
onAction(java.lang.String name,
boolean keyPressed,
boolean isDoubleClick,
float tpf)
Callback method for mouse events. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mouseSliderJoint
private com.jme3.bullet.joints.Point2PointJoint mouseSliderJoint
selectedPanelNode
private PanelNode<T extends IIndividual<T>> selectedPanelNode
StreamingEvaluationState.DragListener
private StreamingEvaluationState.DragListener()
onAction
public void onAction(java.lang.String name,
boolean keyPressed,
boolean isDoubleClick,
float tpf)
- Description copied from class:
MouseListener
- Callback method for mouse events. Subclasses must implement this to add
custom code.
- Specified by:
onAction
in class MouseListener
- Parameters:
name
- Name of the action.keyPressed
- true
if the key is still pressed.isDoubleClick
- true
if it is a double click.tpf
- The time per frame.